//
//  PopupView.h
//  MartketNote
//
//  Created by giangnm on 1/23/14.
//  Copyright (c) 2014 Nguyen Minh Giang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LanguageClass.h"
#import "ReadWriteDataClass.h"

#define TAG_BUTTON_BEGIN 1000
#define TAG_BUTTON_CLOSE 999

#define HEIGHT_BUTTON 38
#define HEIGHT_POPUP_0 240
#define HEIGHT_POPUP_1 160

@protocol MaskViewDelegate <NSObject>

-(void)touchMaskViewDelegate;

@end

@interface MaskView : UIView
{
    id<MaskViewDelegate> delegate;
}
@property (assign) id delegate;


@end

@protocol PopupViewDelegate <NSObject>

-(void)popupViewEventButtonDelegate:(id)sender;

@end

@interface PopupView : UIView <MaskViewDelegate>
{
    id <PopupViewDelegate> delegate;
}
@property (assign) id delegate;

- (id)initWithFrame:(CGRect)frame title:(NSString *)title message:(NSString *)message titleButtonArray:(NSArray *)titleArray;
- (id)initWithFrame:(CGRect)frame title:(NSString *)title message:(NSString *)message;

@end


